package vip.xiaonuo.supplier.modular.base.categories.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 产品分类编辑参数
 *
 * @author Mr.wu
 * @date  2025/02/28 14:52
 **/
@Getter
@Setter
public class SupplierCategoriesEditParam {

    /** 分类ID */
    @Schema(description = "分类ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "id不能为空")
    private String id;

    /** 父ID */
    @Schema(description = "父ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "parentId不能为空")
    private String parentId;

    /** 分类编码 */
    @Schema(description = "分类编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "categoriesCode不能为空")
    private String categoriesCode;

    /** 分类名称 */
    @Schema(description = "分类名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "categoriesName不能为空")
    private String categoriesName;

    /** 分类图片 */
    @Schema(description = "分类图片")
    private String categoriesImage;

    /** 是否销售时隐藏 */
    @Schema(description = "是否销售时隐藏", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "categoriesHideforsale不能为空")
    private String categoriesHideforsale;

    /** 排序码 */
    @Schema(description = "排序码")
    private Integer sortCode;

    /** 扩展信息 */
    @Schema(description = "扩展信息")
    private String extJson;

    /** 数据归属 */
    @Schema(description = "数据归属")
    private String companyId;

}
